package com.vehicle.service;

import com.vehicle.bean.Car;
import com.baomidou.mybatisplus.extension.service.IService;
import com.vehicle.bean.Violation;
import com.vehicle.vo.CarListVO;
import com.vehicle.vo.ViolationListVO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 * @author 校园车辆管理系统
 * @since 2023-05-14
 */
@Service
public interface CarService extends IService<Car> {

    //分页查询罚单：page,size
    public CarListVO getAllCar(Integer page, Integer size);

    //判断用户是否存在
    public Boolean UserExist(Integer userId);

    public Car getMessageByName(String name);

    public Car getMessageByUserId(Integer userId);

    public Integer getCategory(Integer userId);
}
